<!doctype html>
<html lang="en">
<head>
{%- block analytics %}
{%- if analytics %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ analytics }}"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', '{{ analytics }}');
</script>
{%- endif %}
{%- endblock %}{# Analytics block #}
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description"
          content="kernelci.org - Automated Linux Kernel Testing">
    <meta name="robots" content="index,follow,nosnippet">
    <!--[if lt IE 9]>
    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    {%- block meta -%}{%- endblock %}
    <title>{%- block title %}{%- endblock %}</title>
    {%- block head %}
    <link rel="stylesheet" type="text/css" href="/static/css/bootstrap-3.3.6.min.css">
    <link rel="stylesheet" type="text/css" href="/static/css/bootstrap-theme-3.3.6.min.css">
    <link rel="stylesheet" type="text/css" href="/static/css/font-awesome-4.5.0.min.css">
    <link rel="stylesheet" type="text/css" href="/static/css/kci-base-2020.2.css">
    {%- endblock %}
</head>
<body>
    <div class="navbar navbar-default navbar-static-top" id="top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li id="li-home">
                        <a id="home-l" href="/" title="Home: 127.0.0.1">
                            <i class="fa fa-home"></i>&nbsp;Home
                        </a>
                    </li>
                    <li id="li-job">
                        <a id="job-l" href="/job/" title="View the latest jobs">
                            <i class="fa fa-sitemap"></i>&nbsp;Jobs
                        </a>
                    </li>
                    <li id="li-build">
                        <a id="build-l" href="/build/"
                            title="View all the latest build reports">
                            <i class="fa fa-cube"></i>&nbsp;Builds
                        </a>
                    </li>
                    <li id="li-test">
                        <a id="tests-l" href="/test/"
                            title="View all the latest test reports">
                            <i class="fa fa-stethoscope"></i>&nbsp;Tests
                        </a>
                    </li>
                    <li id="li-soc">
                        <a id="soc-l" href="/soc/"
                            title="View the latest SoCs">
                            <i class="fa fa-server"></i>&nbsp;SoCs
                        </a>
                    </li>
                    <!-- Disabled as it needs fixing in kernrelci-backend
                    <li id="li-compare">
                        <a id="compare-l" href="/compare/"
                            title="Compare jobs, builds and boots (beta)">
                            <i class="fa fa-th-large"></i>&nbsp;Compare<small>&nbsp;<sup>&#946;</sup></small>
                        </a>
                    </li>
                    -->
                    <li id="li-info">
                        <a id="info-l" href="/info/"
                            title="Want to know more about kernelci.org?">
                            <i class="fa fa-info"></i>&nbsp;Info
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    {% include "hotkeys.html" %}
    <div class="container main-content">
        <div id="errors-container"></div>
        <div id="content-container">
            {%- block content %}{%- endblock %}
        </div>
    </div>
    <footer class="footer">
        <div class="container">
            <div class="row">
                <div class="col-xs-3 col-sm-4 col-md-4 col-lg-4">
                    <ul class="list-unstyled">
                        <li>
                            <a title="KernelCI main page" href="https://kernelci.org">
                              kernelci.org
                            </a>
                        </li>
                        <li>
                            <a title="KernelCI General Documentation" href="https://kernelci.org/docs">
                              Documentation
                            </a>
                        </li>
                        <li>
                            <a title="KernelCI API documentation" href="https://api.kernelci.org">
                                API documentation
                            </a>
                        </li>
                        <li>
                          Frontend Version:&nbsp;
                            <span class="rel-tooltip" data-toggle="tooltip" title="Kernel CI Dashboard version">
                                <a href="https://github.com/kernelci/kernelci-frontend/tree/{{ front_version }}">{{ front_version }}</a>
                            </span>
                            &nbsp;|&nbsp;Backend Version:
                            <span class="rel-tooltip" data-toggle="tooltip" title="Kernel CI API version" id="api-version">
                            {%- if back_version %}
                                <a href="https://github.com/kernelci/kernelci-backend/tree/{{ back_version }}">{{ back_version }}</a>
                            {%- else %}
                                ?
                            {%- endif %}
                            </span>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </footer>
<input type="hidden" id="date-range" value="{{ config['DATE_RANGE'] }}">
<input type="hidden" id="number-range" value="{{ config['NUMBER_RANGE'] }}">
{%- block scripts %}
{%- endblock %}{# Scripts block #}
</body>
</html>
